#include "xml/tinyxml.h"
#include <sstream>
#include <string>
#include "Person.h"
#include <vector>

using namespace std;

class XmlWriter{

public:
    void writePerson(TiXmlDocument& doc, Person data);

private:
    TiXmlElement* addElement(const char* name, string text);

};
